package com.bdqn.day0106.mybatis.mapper;

import com.bdqn.day0106.mybatis.entity.Child;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author:Corday
 * @Date:2022/01/06/10:55
 * 注解与xml配置结合
 */
@Mapper
public interface ChildMapper {
    Child selectChildById(Integer cid);
//    查询所有记录
    List<Child> selectChilds();
}
